package com.demodis.domain;

/**
 * TblUser entity. @author MyEclipse Persistence Tools
 */

public class TblUser implements java.io.Serializable {

	public String getDeterUrl() {
		return deterUrl;
	}

	public void setDeterUrl(String deterUrl) {
		this.deterUrl = deterUrl;
	}

	private static final long serialVersionUID = -7446645267685094405L;

	private Integer page;
	private Integer rows;
	private String ids;
	private String q;
	private String groupName;
	private String roleName;
	private String deterUrl;
	private String queryStatUrl;

	private Integer userId;
	private Integer groupId;
	private Integer roleId;
	private String username;
	private String userRealName;
	
	private String password;
	private String usertype;
	private Integer userstate;
	private Integer detered;
	private Integer permTotalValue;
	private String realNameAbbr;

	/** default constructor */
	public TblUser() {
	}

	/** minimal constructor */
	public TblUser(Integer userId) {
		this.userId = userId;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUsertype() {
		return this.usertype;
	}

	public void setUsertype(String usertype) {
		this.usertype = usertype;
	}

	public Integer getUserstate() {
		return userstate == null ? 0 : userstate;
	}

	public void setUserstate(Integer userstate) {
		this.userstate = userstate;
	}

	public Integer getDetered() {
		return this.detered == null ? 0 : this.detered;
	}

	public void setDetered(Integer detered) {
		this.detered = detered;
	}

	public Integer getPermTotalValue() {
		return this.permTotalValue;
	}

	public void setPermTotalValue(Integer permTotalValue) {
		this.permTotalValue = permTotalValue;
	}

	public Integer getGroupId() {
		return groupId == null ? 0 : groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getRows() {
		return rows;
	}

	public void setRows(Integer rows) {
		this.rows = rows;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	public String getQ() {
		return q == null ? "" : q;
	}

	public void setQ(String q) {
		this.q = q;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getUserRealName() {
		return userRealName;
	}

	public void setUserRealName(String userRealName) {
		this.userRealName = userRealName;
	}

	public String getQueryStatUrl() {
		return queryStatUrl;
	}

	public void setQueryStatUrl(String queryStatUrl) {
		this.queryStatUrl = queryStatUrl;
	}

	public String getRealNameAbbr() {
		return realNameAbbr;
	}

	public void setRealNameAbbr(String realNameAbbr) {
		this.realNameAbbr = realNameAbbr;
	}

}